* {
  margin: 0;
  padding: 0;
}
body{
  background-image:url("../images/dtbj.gif");

  background-repeat: no-repeat;

  background-size: cover;

  background-attachment: fixed;
}
body,
button,
input {
  font: 12px arial;
}

li {
  list-style: none;
}

a {
  color: #666;
  text-decoration: none;
}

input,
button {
  border: none;
  outline: none;
}

body {
  background-color: #f8fafc;
}

.w {
  width: 1190px;
  margin: 0 auto;
}

.clearfix {
  *zoom:1;
}

.clearfix::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

/* 顶部栏 */
.top-nav {
  background-color: #f5f5f5;
  padding: 10px 0;
  font-size: 12px;
}
.top-nav .login {
  float: left;
}
.top-nav .login .h {
  color: #e63e3e;
  margin-right: 6px;
}

.top-nav .nav-list {
  float: right;
}
.top-nav .nav-list li {
  display: inline-block;
  margin-left: 10px;
}

/* 搜索框 */
.searchWrap .w {
  position: relative;
}
.logo {
  position: absolute;
  top: 33px;
  left: 0px;
  width: 200px;
  height: 56px;
  line-height: 56px;
  font-size: 40px;
  color: #3e91e6;
  font-weight: bold;
  text-align: center;
}

.search-box {
  position: relative;
  padding: 40px 0 40px 300px;
}

.search-box .searchInput {
  float: left;
  width: 530px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #ddd;
  padding: 0 10px;
  font-size: 15px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.search-box .search-btn {
  float: left;
  width: 80px;
  height: 42px;
  font-size: 15px;
  background-color: #3e91e6;
  color: #fff;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.search-suggest {
  display: none;
  position: absolute;
  top: 82px;
  width: 550px;
  background-color: #fff;
  border: 1px solid #ddd;
  z-index: 1000;
}
ul.search-suggest li {
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  padding: 0 10px;
}
/* 商品分类 */
.menu {
  padding-bottom: 30px;
}
.aside-nav {
  float: left;
  width: 200px;
  height: 500px;
  box-shadow: 2px 6px 9px rgba(0, 0, 0, 0.2);
}
.list-item .item-href {
  display: block;
  margin: 0 30px;
  height: 50px;
  line-height: 50px;
  color: #333;
  border-bottom: 1px dotted #ddd;
  box-sizing: border-box;
}
.list-item:last-child .item-href {
  border: none;
}
.list-item .iconfont {
  float: left;
  margin-right: 5px;
  color: #e63e3e;
}
.list-item:hover .iconfont {
  color: #fff;
}

.nav-list {
  position: relative;
}

.list-item:hover,
.list-item:hover .item-href {
  background: yellow;
  color: blue;
  font-weight:bolder;
}
/* 二级分类 */
.nav-list .item-menu {
  display: none;
  position: absolute;
  left: 200px;
  top: 0;
  width: 900px;
  min-height: 500px;
  background-color: #fff;
  box-shadow: 2px 2px 9px rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.list-item:hover .item-menu {
  display: block;
}
.subcate {
  float: left;
  width: 610px;
  padding: 30px 20px 20px 20px;
}

.subcate .subcate_item {
  position: relative;
  padding-left: 80px;
}

.subcate .subcate_item .subcate_title {
  position: absolute;
  left: 0;
  top: 6px;
  width: 70px;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 700;
}

.subcate_title .subcate_title_arrow {
  margin-left: 5px;
}

.subcate .subcate_con {
  padding: 5px 0;
}

.subcate .subcate_con .subcate_con_lk {
  float: left;
  height: 16px;
  line-height: 16px;
  border-left: 1px solid #ddd;
  padding: 0 10px;
  margin: 3px 0;
}
.subcate .subcate_link:hover,
.subcate .subcate_con .subcate_con_lk:hover {
  color: #e63625;
}
/* 轮播图 */
.banner-wrap {
  float: left;
  margin-left: 20px;
}
.banner-wrap .banner {
  position: relative;
  width: 970px;
  height: 500px;
  overflow: hidden;
  margin-bottom: 20px;
}

.banner-wrap .banner ul {
  display: flex;
  width: 100%;
}

.banner-wrap .banner ul li {
  transition: opacity 0.3s;
}

.banner-wrap .banner ul li a {
  display: block;
  width: 970px;
  height: 500px;
}
.banner-wrap .banner ul li a img {
  width: 100%;
  height: 100%;
}

.prev {
  left: 30px;
}
.next {
  right: 30px;
}

.swiper-arrow {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
  cursor: pointer;
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 14px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.indicators .indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 3px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
}
.indicators .on {
  background-color: #ff5000;
}

/* 秒杀专区 */
.miaosha {
  margin-top: 30px;
  padding-bottom: 40px;
}
.miaosha .miaosha-time {
  position: relative;
  float: left;
  width: 200px;
  height: 275px;
  background-color: #e63e3e;
  color: #fff;
}
.miaosha-time .ms_tit {
  text-align: center;
  font-size: 34px;
  margin-top: 40px;
}
.miaosha-time .icon-alarm {
  position: absolute;
  top: 93px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
}
.miaosha-time .ms_desc {
  position: absolute;
  left: 0;
  bottom: 100px;
  width: 100%;
  font-size: 16px;
  text-align: center;
}
.countdown {
  position: absolute;
  left: 32.5px;
  bottom: 20px;
}
.countdown .cd_item {
  float: left;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #333;
  font-size: 20px;
  font-weight: bold;
  margin-right: 5px;
}

.miaosha-list {
  float: left;
  width: 990px;
  height: 275px;
}

.miaosha-list .ms-item {
  float: left;
  width: 198px;
  height: 275px;
  background: #fff;
}

.ms-item-lk {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0 5px;
}

.ms-item-lk .ms-item-img {
  display: block;
  width: 140px;
  height: 140px;
  padding: 20px;
  margin: auto;
}
.ms-item-lk:hover .ms-item-img {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

.ms-item-lk .ms-item-name {
  padding: 0 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ms-item-lk:hover .ms-item-name {
  color: #e63e3e;
}

.ms-item-buy {
  line-height: 20px;
  margin: 10px 0;
  text-align: center;
}

.ms-item-buy .progress {
  display: inline-block;
  width: 100px;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  margin: 5px 5px 0 0;
}
.ms-item-buy .progress .progress-bar {
  display: block;
  width: 30%;
  height: 10px;
  background-color: #e63e3e;
  border-radius: 5px 0 0 5px;
}

.ms-item-buy .buy-num {
  display: inline-block;
  color: #e63e3e;
  font-size: 12px;
}

.ms-item-price {
  display: block;
  width: 160px;
  margin: auto;
  border: 1px solid #e63e3e;
}
.ms-item-price .cm-price {
  float: left;
  width: 80px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}
.ms-item-price .new-price {
  font-size: 14px;
  background-color: #e63e3e;
  color: #fff;
  font-weight: bold;
}

.ms-item-price .origin-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}
/* 热卖专区 */
.layer {
  padding-bottom: 20px;
}
.layer-inner {
  background-color: rgba(255,255,255,0.3);
}
.layer-inner h3 {
  padding: 20px;
  font-size: 20px;
  height: 22px;
  line-height: 22px;

}

.layer-inner h3::before {
  content: "";
  float: left;
  width: 4px;
  height: 16px;
  margin: 3px 6px 0 0;
}

.hotSale {
  color:#ffffff;
}

.likeSale {
  color: #ff9f00;
}

.hotSale::before {
  background-color: #e63625;
}

.likeSale::before {
  background-color: #ff9f00;
}

.saleList .item {
  position: relative;
  float: left;
  width: 196px;
  padding: 20px;

}



.saleList .bs-item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.saleList .like-item:hover {
  border-color: #e63e3e;
  transition: border-color 0.3s;
}

.saleList .item a {
  display: block;
}

.saleList .item a .item-img {
  width: 196px;
  height: 196px;
}

.saleList .item .title {
  font-size: 14px;
  color: #666;
  height: 40px;
  line-height: 20px;
  overflow: hidden;
  margin: 8px 0;
}

.saleList .line-2 {
  margin-bottom: 10px;
}

.saleList .comment,
.saleList .collect {
  float: left;
  color: #999;
  margin-right: 10px;
}

.saleList .comment em,
.saleList .collect em {
  font-style: normal;
  margin-left: 5px;
}

.saleList .strong {
  color: black;
  font-size: 22px;
  margin-right: 2px;
}

.saleList .strong::before {
  font-size: 14px;
  color: #e63625;
  margin-right: 3px;
}

.saleList .price-through {
  text-decoration: line-through;
  color: #999;
}
.saleList .sell {
  float: right;
  color: #999;
  margin-top: 5px;
}

.saleList .item .item-more {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 14px;
  background-color: #e63e3e;
  color: #fff;
}
.saleList .like-item:hover .item-more {
  display: block;
}

.loadMore {
  padding: 30px 0;
}

.loadMore span {
  display: block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  background-color: #e63e3e;
  margin: auto;
  text-align: center;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
}

/*悬浮菜单*/
.tool {
  position: fixed;
  margin-top: 500px;
  right: 10px;
  width: 50px;
  text-align: center;
  z-index: 10;
}
.tool a {
  position: relative;
  display: block;
  font-size: 13px;
  height: 44px;
  line-height: 17px;
  background-color: #fff;
  padding: 8px 8px 0;
  cursor: pointer;
}
.tool a::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -1px;
  width: 34px;
  border-bottom: 1px solid #efefef;
  z-index: 5;
}
.tool a.on,
.tool a:hover {
  background-color: #e63e3e;
  color: #fff;
  z-index: 6;
}


.top-arrow {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #999;
  border-left: 1.5px solid #999;
  transform: rotate(45deg);
  margin: 5px auto;
}
.tool a:hover .top-arrow {
  border-color: #fff;
}

#goTop {
  display: none;
}
.footer {
  margin-top: 5px;
  margin-bottom: 30px;
}

.footer > .language {
  margin-top: 10px;
  color: #757575;
  font-size: 12px;
  text-align: center;
}
.copyright {
  font-size: 12px;
  color: #757575;
  margin-top: 5px;
  text-align: center;
}
.search-btn:hover,
.loadMore span:hover {
  /*  color: #e63e3e; */
  background: #ccc;
}
